* net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
authorMichael Albinus <michael.albinus@gmx.de>
Sun, 4 Sep 2011 18:14:34 +0000 (20:14 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Sun, 4 Sep 2011 18:14:34 +0000 (20:14 +0200)
commit9f209f8f01771f97b6de29ab39edba172dbbf225
tree2ca10f6e3b6cb29114b70c48dc95bc2f9c94bc38
parent80d3cd3c926c6f166fc041a86dba4b55fe8f8268
* net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
`tramp-cache-unload-hook' where appropriate.
(tramp-methods): Rename `tramp-remote-sh' to
`tramp-remote-shell'.  Add `tramp-remote-shell-args'.
(tramp-handle-shell-command): New defun, moved from tramp-sh.el.

* net/tramp-sh.el (top): Don't require 'shell.
(tramp-methods): Add `tramp-remote-shell' and
`tramp-remote-shell-args' entries.
(tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
(tramp-sh-handle-shell-command): Remove.
(tramp-find-shell, tramp-open-connection-setup-interactive-shell):
Use `tramp-remote-shell'.
lisp/ChangeLog
lisp/net/tramp-sh.el
lisp/net/tramp.el